<@t.html>
<@t.container title="上传配置列表" icon="upload" >
  	       <!--operator-->
  	       <@t.btn_a name="添加配置" icon="plus" href="admin/upconfig/toAdd"/>
  	       <@t.btn_b name="删除配置" icon="trash" onclick="batchDeleteFun('admin/upconfig/delete');" />
  		   <@t.dt>
  		   		 <@t.dtheader>
						 <@t.column title="ID" />
						 <@t.column title="频道中文名" />
						 <@t.column title="频道KEY" />
						 <@t.column title="上传根目录" />
						 <@t.column title="允许上传文件类型" />
						 <@t.column title="自动裁剪" />
						 <@t.column title="自动水印" />
				</@t.dtheader>
  			<@t.dtbody>
  				 <#list page.list as a>
                     <@t.dtrow data_id="${a.id}">
                      	<@t.checkbox data_id="${a.id}"></@t.checkbox>
                        <@t.column title="${a.id}" />
                        <@t.column title="${a.chanel_cn_name}" />
                        <@t.column title="${a.channel}" />
                        <@t.column title="${a.base_path}" />
                        <@t.column title="${a.allow_type}" />
                        <td><@t.code defVal="${a.auto_crop}" datas={"1":"允许", "0":"禁止"} /></td>
                        <td><@t.code defVal="${a.auto_mark}" datas={"0":"无水印","1":"文字水印", "2":"图片水印"} /></td>
                        <td>
                        	<@t.btn_b name="删除" size="btn-xs" icon="trash" onclick="batchDeleteFun('admin/upconfig/delete','${a.id}');" />
							<@t.btn_a name="修改" size="btn-xs" icon="pencil" href="admin/upconfig/toAdd?id=${a.id}"/>
						</td>
                    </@t.dtrow>
				 </#list>
  			</@t.dtbody>
  		</@t.dt>
  		<!--pager-->
  		<@t.back_pager objCount=page.totalRow pageSize=page.pageSize pageNum=page.pageNumber pageCount=page.totalPage></@t.back_pager>
  </@t.container>
</@t.html>